<div style='width: 300px;'>
	<input type='text' class='form-control' placeholder='Username' ng-model='username' />
	<br />
	<input type='password' class='form-control' placeholder='Password' ng-model='password'  ng-keypress="($event.which === 13)?login():return" />
	<label class='label label-danger'>{{error}}</label>
	<br />
	<button class='btn btn-block btn-success' ng-click='login()'>Login</button>
</div>